package com.example.springboot01.propost;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author keyer
 * @Description : 描述
 * Created by cyd on 2021-04-30 17:27:36
 */
@Slf4j
public class TestMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(PrePostConfig.class);
        BeanWayService beanWayService = context.getBean(BeanWayService.class);
        Jsr250WayService jsr250WayService = context.getBean(Jsr250WayService.class);
        System.out.println(log.getClass());
        context.close();
    }
}
